package com.sc.nft.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class DaoEquityFindDTO extends PageRequest {

    @ApiModelProperty(value = "道具卡Id")
    @NotNull(message = "道具卡Id不能为空")
    private Long equityPropsId;

    @ApiModelProperty(value = "账号")
    private String phoneNo;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private Long daoId;
}
